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

    @Generated("mdsal-binding-generator")
    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;
           }
         }
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • 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()
        Return cNextHop, or null if it is not present.
        Returns:
        CNextHop cNextHop, or null if it is not present.