Interface OspfV2LanIdentifier

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, OspfRouterIdentifier

    @Generated("mdsal-binding-generator")
    public interface OspfV2LanIdentifier
    extends org.opendaylight.yangtools.yang.binding.DataObject, OspfRouterIdentifier

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

     grouping ospf-v2-lan-identifier {
       uses ospf-router-identifier;
       leaf ipv4-address {
         type ipv4-interface-identifier;
       }
     }
     
    • 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 OspfV2LanIdentifier> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface OspfRouterIdentifier
      • getIpv4Address

        Ipv4InterfaceIdentifier getIpv4Address()
        Return ipv4Address, or null if it is not present.
        Returns:
        Ipv4InterfaceIdentifier ipv4Address, or null if it is not present.
      • requireIpv4Address

        default @NonNull Ipv4InterfaceIdentifier requireIpv4Address()
        Return ipv4Address, guaranteed to be non-null.
        Returns:
        Ipv4InterfaceIdentifier ipv4Address, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if ipv4Address is not present