Interface NextHop

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Attributes, MpReachNlri

    public interface NextHop
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module bgp-types

     grouping next-hop {
       choice c-next-hop {
         default empty-next-hop-case;
         case ipv4-next-hop-case {
           container ipv4-next-hop {
             leaf global {
               type inet:ipv4-address-no-zone;
             }
           }
         }
         case ipv6-next-hop-case {
           container ipv6-next-hop {
             leaf global {
               type inet:ipv6-address-no-zone;
             }
             leaf link-local {
               type inet:ipv6-address-no-zone;
             }
           }
         }
         case empty-next-hop-case {
           leaf empty-next-hop {
             type empty;
           }
         }
       }
     }
     
    The schema path to identify an instance is bgp-types/next-hop
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends NextHop> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getCNextHop

        CNextHop getCNextHop()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.next.hop.CNextHop cNextHop, or null if not present